﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
   public   class Cat
    {
        public string Nickname { get; set; }
        public string Sex { get; set; }
        public string type { get; set; }

        public void PrinSomething()
        {
            Dog dog = new Dog();
            dog.Nickname = "瑞德";
            dog.Sex = "女";
            dog.type = "泰迪";
            dog.Set(45);

            Console.WriteLine(dog.type);
            Console.WriteLine(dog.Nickname);
            Console.WriteLine(dog.Sex);
            Console.WriteLine(dog.Get());



        }

    }
}
